package cn.domypay.back.control;

import java.util.List;

import cn.domypay.back.bean.DmpOrderInfo;
import cn.domypay.back.biz.DmpOrderInfoBiz;
import cn.domypay.back.biz.DmpPerpaidLogBiz;
import cn.domypay.back.exception.DoMyPayException;

public interface OrderControl {
	
	public void setDmpOrderInfoBiz(DmpOrderInfoBiz dmpOrderInfoBiz);
	
	public void setDmpPerpaidLogBiz(DmpPerpaidLogBiz dmpPerpaidLogBiz);

	/**
	 * 获取全部接受处理订单集合
	 * @return
	 * @throws DoMyPayException
	 */
	public List getAcceptOrderList() throws DoMyPayException;
	
	/**
	 * 处理充值数据
	 * @param dmpOrderInfo
	 * @return
	 * @throws DoMyPayException
	 * @throws Exception
	 */
	public boolean dealPerPaid(DmpOrderInfo dmpOrderInfo) throws DoMyPayException,Exception;
	
	/**
	 * 修改订单处理状态
	 * @param dmpOrderInfo
	 * @throws DoMyPayException
	 */
	public void modityOrderStatus(DmpOrderInfo dmpOrderInfo) throws DoMyPayException;
}
